package com.flanz.apache.velocity.uimocker;

import org.apache.commons.configuration.Configuration;

/**
 * ProjectConfig.
 * 
 * @author cf
 * 
 */
public class ProjectConfig {
	private Configuration VM_APP_VARS;
	private MimeTable mimeTable;
	private String projectDir;
	public static final int UNLIMITED_REQUEST_THREAD = 0;
	private int maxRequestThread = UNLIMITED_REQUEST_THREAD;

	public int getMaxRequestThread() {
		return maxRequestThread;
	}

	public void setMaxRequestThread(final int maxRequestThread) {
		this.maxRequestThread = maxRequestThread;
	}

	public Configuration getVM_APP_VARS() {
		return VM_APP_VARS;
	}

	public void setVM_APP_VARS(final Configuration aPP) {
		VM_APP_VARS = aPP;
	}

	public MimeTable getMimeTable() {
		return mimeTable;
	}

	public void setMimeTable(final MimeTable mimeTable) {
		this.mimeTable = mimeTable;
	}

	public String getProjectDir() {
		return projectDir;
	}

	public void setProjectDir(final String projectDir) {
		this.projectDir = projectDir;
	}

	public String getHttpDocRoot() {
		return httpDocRoot;
	}

	public void setHttpDocRoot(final String httpDocRoot) {
		this.httpDocRoot = httpDocRoot;
	}

	public int getServerPort() {
		return serverPort;
	}

	public void setServerPort(final int serverPort) {
		this.serverPort = serverPort;
	}

	private String httpDocRoot;
	private int serverPort;
	private String projectMacrosFileList;

	public void setProjectMacrosFileList(final String projectMacrosFileList) {
		this.projectMacrosFileList = projectMacrosFileList;
	}

	public String getProjectMacrosFileList() {
		return this.projectMacrosFileList;
	}
}
